package com.hc.concurrent_likes.mapper;

import com.hc.concurrent_likes.entity.UserMoodPraiseRel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 描述：用户说说关联Mapper
 * @author JXR
 * @date 2022/11/14
 */
@Mapper
@Repository("userMoodPraiseRelMapper")
public interface UserMoodPraiseRelMapper {
    /**
     * 添加说说被用户点赞的记录
     * @param userMoodPraiseRel 说说点赞关联的实例
     * @return 添加记录的个数
     */
    int save(@Param("userMoodPraiseRel") UserMoodPraiseRel userMoodPraiseRel);
}
